package com.gridmobi.xrtb.model.openrtb.bak;


import com.gridmobi.xrtb.model.Message;

public class User {


	private String id;
	private String buyerid;
	private int yob;
	private String gender;
	private String keywords;
	private String customdata;
	private Geo geo;
	private Data[] data;
	private Object ext;
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the buyerid
	 */
	public String getBuyerid() {
		return buyerid;
	}
	/**
	 * @param buyerid the buyerid to set
	 */
	public void setBuyerid(String buyerid) {
		this.buyerid = buyerid;
	}
	/**
	 * @return the yob
	 */
	public int getYob() {
		return yob;
	}
	/**
	 * @param yob the yob to set
	 */
	public void setYob(int yob) {
		this.yob = yob;
	}
	/**
	 * @return the gender
	 */
	public String getGender() {
		return gender;
	}
	/**
	 * @param gender the gender to set
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}
	/**
	 * @return the keywords
	 */
	public String getKeywords() {
		return keywords;
	}
	/**
	 * @param keywords the keywords to set
	 */
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	/**
	 * @return the customdata
	 */
	public String getCustomdata() {
		return customdata;
	}
	/**
	 * @param customdata the customdata to set
	 */
	public void setCustomdata(String customdata) {
		this.customdata = customdata;
	}
	/**
	 * @return the geo
	 */
	public Geo getGeo() {
		return geo;
	}
	/**
	 * @param geo the geo to set
	 */
	public void setGeo(Geo geo) {
		this.geo = geo;
	}
	/**
	 * @return the data
	 */
	public Data[] getData() {
		return data;
	}
	/**
	 * @param data the data to set
	 */
	public void setData(Data[] data) {
		this.data = data;
	}
	/**
	 * @return the ext
	 */
	public Object getExt() {
		return ext;
	}
	/**
	 * @param ext the ext to set
	 */
	public void setExt(Object ext) {
		this.ext = ext;
	}
	@Override
	public String toString(){
		StringBuffer sb = new StringBuffer();
		sb.append(this.getId()).append(Message.logDelimiter);
		sb.append(this.getBuyerid()).append(Message.logDelimiter);
		sb.append(this.getGender()).append(Message.logDelimiter);
		sb.append(this.getGeo()).append(Message.logDelimiter);
		sb.append(this.getGeo().getCountry()).append(Message.logDelimiter);
		return sb.toString();
	}
}
